Skip to main content

What’s New

Qrvey 8.7
Version 8.7 of the Qrvey platform is now available to customers! This version includes new features including area charts, the ability to pivot and export data, as well as numerous bug fixes and performance improvements.
Learn More
Qrvey 8.6
Version 8.6 of the Qrvey platform is now available to customers. This version includes several new feature enhancements and performance improvements.
Learn More
Required Update for 8.5.1
Attention 8.5.1 customers: for any 8.5.1 instance deployed prior to 08/05/2024, an update is required to ensure you are running the latest images.
Learn More
Qrvey 8.5
Version 8.5 (LTS) of the Qrvey platform is now available to customers. This version includes several new features and performance improvements.
Learn More
End-of-life Schedule
We've added a new article that lists the features and endpoints that have been scheduled for deprecation. All features and endpoints will be supported for (1) year after the release date of the LTS version that contains the alternative.
Learn More
Version: 8.6

Dashboard View

The Dashboard View widget enables you to embed one or more dashboards or a mashup of several charts, maps, and metrics into your application.

Embeddable Script

<!-- Tag -->
<qrvey-end-user settings="config"></qrvey-end-user>`

<!-- Config -->
<script>
var config = {
apiKey: "<API_KEY>",
domain: "<DOMAIN>",
userId: "<USER_ID>",
appId: "<APP_ID>"
};
</script>

<!-- Launcher -->
<script type="text/javascript" src="https://<WIDGETS_URL>/widgets-launcher/app.js"></script>

Configuration Object

PropertyValueRequired
apiKeyString, Your organization’s unique API key required to access the Qrvey platform.Required, if qvToken is not provided.
qvTokenString, Encrypted token used for secure authentication.Required, if apiKey is not provided.
appIdString, ID of the Qrvey application that contains the asset you want to embed.Required
domainString, The base URL of your Qrvey instance.Required
userIdString, ID of the Qrvey User that owns the application being embedded. Optional: You can alternately specify the user ID in a Qrvey session cookie.Required, if userId is not included in a session cookie.
dashboardIdString, ID of a specific dashboard to open to. If omitted, the widget will open to "browse all dashboards".Optional
groupListArray<String>, Collection of IDs/names of the groups created in User Management.Optional
pageIdString, ID of a page to visualize. If configured, all auth processes are still required.Optional
clientIdString, Unique identifier for the tenant end user. Required for using the End User Personalization and Download Manager features.Optional
themeIdString, Theme ID to use in the component. For more details, please see Accessing a Theme Programmatically.Optional
userFiltersArray<Object>, Collection of custom filters that the system will apply to the visualized data. For more information, please see Working With Filters in Embedded Scenarios.Optional
fitPanelButtonBoolean, When false, hides the "fit to panel" button on charts within the dashboard. Default value is true.Optional
filterPanelDefaultViewString, Decides the default state of the side filter panel, if it’s been added to the view. It can be set to open or closed. The default value is closed.Optional
authenticatedSession.emailString, Specifies the email address to associate with the widget. If an address is not specified, exports are sent to the email address associated with the user ID.Optional
personalizationObject, Configures and/or overwrites the default personalization/customization settings. For more information, please see The Personalization Object below.Optional
stylesObject, Configure style options that can be used to override the default styles, allowing for while-labeling the widget. For details, please see The Styles Object below.Optional
customTokensObject, Sets custom threshold values in Bullet and Dial charts. For more information, please see Using Custom Tokens.Optional
featurePermissionObject, Configures which features are available in the widget. For more details, please see The Feature Permission Object below.Optional
subscriptionsSettingsObject, Configures subscription details in the widget. For details, please see The Subscriptions Settings Object below.Optional

Feature Permission

The following table describes the properties of the featurePermission object.

PropertyDescriptionRequired
liteVersionBoolean, If true, hides all elements that are managed by feature permissions. Defaults to false.Optional
downloadsObject, Contains the download and export parameters.Optional
downloads.hideGeneralDownloadBoolean, If true, hides the download feature from the dashboard tool bar. Defaults to false.Optional
downloads.hideScheduleBoolean, If true, hides the scheduling export option in the export modal. Defaults to false.Optional
filtersObject. Contains the filters object parameters.Optional
filters.globalBoolean, When true, hides creation points of global filters. Defaults to false.Optional
filters.pageBoolean, wWen true, hides creation points of page filters. Defaults to false.Optional
filters.tabBoolean, When true, hides creation points of tab filters. Defaults to false.Optional
filters.chartBoolean, When true, hides creation points of chart filters. Defaults to false.Optional
filters.filterPanelBoolean, when true, hides the filter panel. Defaults to false.Optional
panelsObject. Contains the panels object parameters.Optional
panels.globalObject, Contains global panel settings.Optional
panels.global.hide_allBoolean, When true, hides the entire panel menu. Defaults to false.Optional
panels.global.hide_edit_menuBoolean, When true, hides the "edit chart" option. Defaults to false.Optional
panels.global.hide_duplicate_menuBoolean, When true, hides the "duplicate chart" option. Defaults to false.Optional
panels.global.hide_downloads_menuBoolean, When true, hides the "download" sub-menu option. Defaults to false.Optional
panels.global.hide_delete_menuBoolean, When true, hides the "delete chart" option. Defaults to false.Optional
panels.global.hide_JPGBoolean, When true, hides the "download JPG" option. Defaults to false.Optional
panels.global.hide_PDFBoolean, When true, hides the "PDF download" option. Defaults to false.Optional
panels.global.hide_CSVBoolean, When true, hides the "CSV download" option. Defaults to false.Optional
panels.global.hide_CSV_summaryBoolean, When true, hides the "CSV summary" option. Defaults to false.Optional
panels.metricsObject, Contains metrics panel settings.Optional
panels.metrics.hide_edit_menuBoolean, When true, hides the "edit chart" option for metrics panels. Defaults to false.Optional
panels.metrics.hide_duplicate_menuBoolean, When true, hides the "duplicate chart" option for metrics panels. Defaults to false.Optional
panels.metrics.hide_downloads_menuBoolean, When true, hides the "download" sub-menu option for metrics panels. Defaults to false.Optional
panels.metrics.hide_delete_menuBoolean, When true, hides the "delete chart" option for metrics panels. Defaults to false.Optional
panels.metrics.hide_JPGBoolean, When true, hides the "download JPG" option for metrics panels. Defaults to false.Optional
panels.metrics.hide_PDFBoolean, When true, hides the "PDF download" option for metrics panels. Defaults to false.Optional
panels.metrics.hide_CSVBoolean, When true, hides the "CSV download" option for metrics panels. Defaults to false.Optional
panels.metrics.hide_CSV_summaryBoolean, When true, hides the "CSV summary" option for metrics panels. Defaults to false.Optional
panels.metrics.hide_EXCELBoolean, When true, hides the "EXCEL download" option for metrics panels. Defaults to false.Optional
panels.summariesObject, Contains summaries panel settings.Optional
panels.summaries.hide_edit_menuBoolean, When true, hides the "edit chart" option for summaries panels. Defaults to false.Optional
panels.summaries.hide_duplicate_menuBoolean, When true, hides the "duplicate chart" option for summaries panels. Defaults to false.Optional
panels.summaries.hide_downloads_menuBoolean, When true, hides the "download" sub-menu option for summaries panels. Defaults to false.Optional
panels.summaries.hide_delete_menuBoolean, When true, hides the "delete chart" option for summaries panels. Defaults to false.Optional
panels.summaries.hide_JPGBoolean, When true, hides the "download JPG" option for summaries panels. Defaults to false.Optional
panels.summaries.hide_PDFBoolean, When true, hides the "PDF download" option for summaries panels. Defaults to false.Optional
panels.summaries.hide_CSVBoolean, When true, hides the "CSV download" option for summaries panels. Defaults to false.Optional
panels.summaries.hide_CSV_summaryBoolean, When true, hides the "CSV summary" option for summaries panels. Defaults to false.Optional
panels.summaries.hide_EXCELBoolean, When true, hides the "EXCEL download" option for summaries panels. Defaults to false.Optional
panels.chartsObject, Contains charts panel settings.Optional
panels.charts.hide_edit_menuBoolean, When true, hides the "edit chart" option for charts panels. Defaults to false.Optional
panels.charts.hide_duplicate_menuBoolean, When true, hides the "duplicate chart" option for charts panels. Defaults to false.Optional
panels.charts.hide_downloads_menuBoolean, When true, hides the "download" sub-menu option for charts panels. Defaults to false.Optional
panels.charts.hide_delete_menuBoolean, When true, hides the "delete chart" option for charts panels. Defaults to false.Optional
panels.charts.hide_JPGBoolean, When true, hides the "download JPG" option for charts panels. Defaults to false.Optional
panels.charts.hide_PDFBoolean, When true, hides the "PDF download" option for charts panels. Defaults to false.Optional
panels.charts.hide_CSVBoolean, When true, hides the "CSV download" option for charts panels. Defaults to false.Optional
panels.charts.hide_CSV_summaryBoolean, When true, hides the "CSV summary" option for charts panels. Defaults to false.Optional
panels.charts.hide_EXCELBoolean, When true, hides the "EXCEL download" option for charts panels. Defaults to false.Optional

Tip: To hide all features, set the liteVersion property to true. For example:

const widgetConfig = {
domain: "DOMAIN",
appId: "APP_ID",
userId: "USER_ID",
featurePermission: {
liteVersion: true,
},
}

Tip: To hide most features, set the liteVersion property to true and list the exceptions you want to show to false. For example:

const widgetConfig = {
domain: "DOMAIN",
appId: "APP_ID",
userId: "USER_ID",
featurePermission: {
liteVersion: true,
userManagement:{
hideUserManagementTab: false
}
},
}

Subscriptions Settings

In the Dashboard View widget, you can enable end users to subscribe to a scheduled delivery of exported dashboards or specific charts. For the Subscriptions feature to work, you must appropriately set the clientId property and pass it in when generating the qvToken. The property’s value should represent a unique identifier for each end user. For more information on using subscriptions, see Subscribing to Exports.

PropertyDescriptionRequired
enable_subscriptionsBoolean, If false, disables the User Subscriptions alarm bell and subscriptions are not available to the end user within the widget. Defaults to true.Optional
emailsArray, Email addresses to deliver the exports to.
Example: [ "email@jmail.com", "email2@jmail.com"]
Optional
allow_editing_recipientsBoolean, Enables the end user to modify the list of recipients of the export.Optional
email_messageObject, JSON object to configure the email message.Optional
email_message.hide_add_subjectBoolean, Toggles visibility of the email's subject field.Optional
email_message.hide_add_messageBoolean, Toggles visibility of the message field.Optional

Personalization

Configures end-user personalization. In the Dashboard View widget, all authenticated users can personalize their view by default. You can use the personalization object to configure and override the personalization settings. End User Personalization feature relies on the user being authenticated and needs the clientId property set for the logged-in user.

To turn personalization off for all users, set the enabled property to false. For example:

const widgetConfig = {
domain: "DOMAIN",
appId: "APP_ID",
userId: "USER_ID",
personalization: {
enabled: false,
},
}

The following table describes the properties of the personalization object.

PropertyDescriptionRequired
enabledBoolean, If false, disables personalization for end users and all of the properties in the personalization object. Defaults to true.Optional
add_filterBoolean, If false, hides the “add filter” buttons and disables users from creating new filters from the filter modal, the filter panel, and filter interactivity page components. Defaults to true.Optional
edit_chartBoolean, if false, disables authenticated users from editing charts. Defaults to true.Optional
download_dataBoolean, If false, disables the download page and panel data in CSV and PDF formats. Defaults to true.Optional
edit_pageBoolean, If false, disables edit mode for the dashboard widget will be displayed and hides the “edit page” button in the floating three-dot menu. Defaults to true.Optional
remove_chartBoolean, If false, users cannot remove charts from the page, when in edit mode. Defaults to true.Optional
rearrange_chartBoolean, If false, users cannot rearrange the chart panels, when in edit mode. Defaults to true.Optional

Styles

In the Dashboard View widget, you can override CSS settings for white-labeling purposes. When using the styles object, house the properties inside the pageView object. For example:

styles: {
pageView: {
canvasTextFontFamily: 'Roboto, sans-serif',
canvasTextFontSize: '12px',
...
}
}

The following table describes the properties of the styles object.

PropertyValuesTarget
canvasButtonBackgroundColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'button
canvasButtonFontColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'button
canvasDatepickerFontFamilyGroups of values:
'Roboto, sans-serif'
'Georgia, serif'
'Palatino Linotype, Book Antiqua, Palatino, serif'
'Times New Roman, Times, serif'
'Arial, Helvetica, sans-serif'
'Arial Black, Gadget, sans-serif'
'Comic Sans MS, cursive, sans-serif'
'Impact, Charcoal, sans-serif'
'Lucida Sans Unicode, Lucida Grande, sans-serif'
'Tahoma, Geneva, sans-serif'
'Trebuchet MS, Helvetica, sans-serif'
'Verdana, Geneva, sans-serif'
'Courier New, Courier, monospace'
'Lucida Console, Monaco, monospace'
datepicker
canvasDatepickerFontColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'datepicker
canvasDatepickerIconSelectorsColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'datepicker
canvasValuelistFontFamilyGroups of values:
'Roboto, sans-serif'
'Georgia, serif'
'Palatino Linotype, Book Antiqua, Palatino, serif'
'Times New Roman, Times, serif'
'Arial, Helvetica, sans-serif'
'Arial Black, Gadget, sans-serif'
'Comic Sans MS, cursive, sans-serif'
'Impact, Charcoal, sans-serif'
'Lucida Sans Unicode, Lucida Grande, sans-serif'
'Tahoma, Geneva, sans-serif'
'Trebuchet MS, Helvetica, sans-serif'
'Verdana, Geneva, sans-serif'
'Courier New, Courier, monospace'
'Lucida Console, Monaco, monospace'
valuelist
canvasValuelistFontColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'valuelist
canvasValuelistIconSelectorsColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'valuelist
canvasTextFontFamilyGroups of values:
, sans-serif'
'Georgia, serif'
'Palatino Linotype, Book Antiqua, Palatino, serif'
'Times New Roman, Times, serif'
'Arial, Helvetica, sans-serif'
'Arial Black, Gadget, sans-serif'
'Comic Sans MS, cursive, sans-serif'
'Impact, Charcoal, sans-serif'
'Lucida Sans Unicode, Lucida Grande, sans-serif'
'Tahoma, Geneva, sans-serif'
'Trebuchet MS, Helvetica, sans-serif'
'Verdana, Geneva, sans-serif'
'Courier New, Courier, monospace'
'Lucida Console, Monaco, monospace'
textbox
canvasTextFontWeightAll CSS supported values (names of numbers)
'bold', 'bolder', 200, 400
textbox
canvasTextFontSizeAll CSS supported values
'10px', '10em', '10rem', '10%', 'large', 'small'
textbox
canvasTextFontColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'textbox
canvasTextBackgroundColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'textbox
canvasTextAlignright, 'center', 'left'textbox
canvasImageAspect‘cover’, ‘contain’, ‘fill’image
navigationBackgroundColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'navigation bar
navigationElementsColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'navigation bar
tabsBackgroundColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'tabs bar
tabsFontColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'tabs bar
tabsBorderColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'tabs bar
tabSizeAll CSS supported values'10px', '10em', '10rem', '10%'tabs bar
selectedTabBarColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'tabs bar
canvasBackgroundColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'page
pageViewButtonBackgroundColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'floating button (bottom right)
pageViewButtonIconColorAll CSS supported values (color names or Hex), '#000000', 'green', 'GREEN'floating button (bottom right)

Events

The widget supports custom events to update keys of the configuration, you can dispatch an event using your own user interface to modify the behavior.

  • atApplyUserFilters() — Enables changes to the userFilters property.

    window.dispatchEvent(new CustomEvent('atApplyUserFilters', {detail: userFilters}));